package cn.bdqn.domain;

import java.io.Serializable;

/**
 * 客户实体类
 * @author dkj
 */
public class Client implements Serializable {

    /**
     * id
     */
    private Integer id;

    /**
     * 客户名
     */
    private String clientName;

    /**
     * 客户收货地址
     */
    private String clientAddress;

    /**
     * 客户手机号
     */
    private String clientPhone;

    /**
     * 客户状态  1.正常  2.失效
     */
    private Integer clientState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName == null ? null : clientName.trim();
    }

    public String getClientAddress() {
        return clientAddress;
    }

    public void setClientAddress(String clientAddress) {
        this.clientAddress = clientAddress == null ? null : clientAddress.trim();
    }

    public String getClientPhone() {
        return clientPhone;
    }

    public void setClientPhone(String clientPhone) {
        this.clientPhone = clientPhone == null ? null : clientPhone.trim();
    }

    public Integer getClientState() {
        return clientState;
    }

    public void setClientState(Integer clientState) {
        this.clientState = clientState;
    }

    @Override
    public String toString() {
        return "Client{" +
                "id=" + id +
                ", clientName='" + clientName + '\'' +
                ", clientAddress='" + clientAddress + '\'' +
                ", clientPhone='" + clientPhone + '\'' +
                ", clientState=" + clientState +
                '}';
    }
}
